package com.ctshk.rpc.order.air.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "AirOrderCancelReq对象",description = "未付款订单直接取消订单Req")
public class AirOrderCancelReq implements Serializable {
    private static final long serialVersionUID = -433517316737841725L;

    @NotNull(message = "订单id不能为空")
    @ApiModelProperty(value = "订单唯一Id",required = true)
    private Long id;

    @ApiModelProperty(value = "取消原因",required = true)
    private String refundReason;

    @ApiModelProperty(value = "备注")
    private String remark;
}
